import { request, config } from '../utils'
import * as commonService from "./common";

const { api } = config;
const { financialAccountBalance } = api;

export async function list() {
  const url = `${financialAccountBalance}/list`;
  return request({ url: url, method: 'POST', data: {} })
}
export async function query(params = {}) {
  params.apiBaseUrl = `${financialAccountBalance}`;
  return commonService.commonQuery(params);
}
export async function shopOverall() {
  const url = `${financialAccountBalance}/distributorOverall`;
  return request({ url: url, method: 'GET', data: {} })
}
